package com.chuangmei.com.arindoorlocationsystem.config.adapter;

import com.chuangmei.com.arindoorlocationsystem.R;
import com.chuangmei.com.arindoorlocationsystem.base.adapter.BaseRecyclerViewAdapter;
import com.chuangmei.com.arindoorlocationsystem.base.adapter.BaseRecyclerViewHolder;
import com.chuangmei.com.arindoorlocationsystem.bean.MapItem;

import java.util.List;

/**
 * 项目名称：ARIndoorLocationSystem
 * 类描述：应用信息适配器
 * 创建人：LuoHao
 * 创建时间：2018/4/9 10:03
 * 修改人：LuoHao
 * 修改时间：2018/4/9 10:03
 * 修改备注：
 */

public class AppMessageAdapter extends BaseRecyclerViewAdapter<MapItem> {
    public AppMessageAdapter(int layoutId, List<MapItem> list) {
        super(layoutId, list);
    }

    @Override
    protected void convert(BaseRecyclerViewHolder holder, MapItem itemMessage) {
        holder.setText(R.id.mTV_item_title, itemMessage.getTitle());
        holder.setText(R.id.mTV_item_value, itemMessage.getValue());
    }
}
